package org.wzq.dyn_proxy;

/**
 * Created by wzq on 14-11-18.
 */
public class Main {
    public static void main(String[] args) {
        IFoo aFoo = new FooImpl();
        IFoo fooProxy = (IFoo)new FooProxy().getProxy(aFoo);
        String hi = fooProxy.sayHi();
        System.out.println("hi = " + hi);
    }
}
